package com.example.newspapersmanageos.Entity;

import java.util.List;

public class ShowInfo {
    private List<Newspaper> newspapers;
    private List<Title> titles;

    public ShowInfo() {
    }

    public ShowInfo(List<Newspaper> newspapers, List<Title> titles) {
        this.newspapers = newspapers;
        this.titles = titles;
    }

    public List<Newspaper> getNewspapers() {
        return newspapers;
    }

    public void setNewspapers(List<Newspaper> newspapers) {
        this.newspapers = newspapers;
    }

    public List<Title> getTitles() {
        return titles;
    }

    public void setTitles(List<Title> titles) {
        this.titles = titles;
    }

    @Override
    public String toString() {
        return "ShowInfo{" +
                "newspapers=" + newspapers +
                ", titles=" + titles +
                '}';
    }
}
